package com.briup.day07;

import com.briup.day07.bean.Teacher;

public class Test_Teacher {
    public static void main(String[] args) {
        Teacher t1 = new Teacher();//调用无参构造器
        t1.show();
        System.out.println("-------------------------------");
        Teacher t2 = new Teacher("lerry");
        t2.show();
        System.out.println("-------------------------------");
        Teacher t3 = new Teacher("jerk",123);
        t3.show();
    }
}
